package com.ocom.xcxapi.client;

import com.ocom.common.constant.NettyServiceUrl;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "netty-mj")
public interface TcpServerClientService {

    @PostMapping(NettyServiceUrl.URL_LongRange_OpenDoor)
    public Result openDoor(@RequestParam("companyId") Long companyId,@RequestParam("pId") Long pId,@RequestParam("machNo") String machNo);
}
